# !/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :fields_all.py
# @Time      :2022/7/10 17:04
# @Author    :吕华龙
from models.model import *
from flask_restful import fields

user_fields = {
    "uid": fields.Integer,
    "mobile": fields.String,
    "username": fields.String,
}

article_fields = {
    "aid": fields.Integer,
    "title": fields.String,
    "content": fields.String,
    "user_id": fields.Integer,
}
